<!DOCTYPE html>
<html xmlns:th="http://www/thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>SpringBoot文件上传</title>
</head>
<body>
<form th:action="@{/upload}" method="post" enctype="multipart/form-data">
    <input  type="text" name="name" /><br/>
    <input  type="file" name="file"/><br/>
    <input  type="file" name="file"/><br/>
    <input  type="file" name="file"/><br/>
    <input type="submit" value="upload" />
</form>
</body>
</html>